package cn.com.utt.common.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class SearchParameter {

	/*
	 * 搜索的列名
	 */
	private String column;

	/*
	 * 搜索的参数
	 */
	@NotNull
	private String value;
	
	@NotNull
	@Pattern(regexp = "(like|=)")
	private String op;

	public String getColumn() {
		return column;
	}

	public void setColumn(String column) {
		this.column = column;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getOp() {
		return op;
	}

	public void setOp(String op) {
		this.op = op;
	}

}
